home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
system
/
dosmax21.zip
/
FREELOAD.DOC
< prev
next >
Wrap
Text File
|
1993-06-11
|
18KB
|
427 lines
================================================================================
FREELOAD.SYS : Ver. 2.1, Copyright (1992,93) by Philip B. Gardner
================================================================================
FREELOAD.SYS is a device driver which will help maximize the use of low
memory by releasing memory usually reserved in low memory by LOADHI.SYS
from Quarterdeck Office Systems.
FREELOAD.SYS tracks the high memory device loader operations and if it
is safe to release the low memory after each device initiates, the low
memory is released and the driver in upper memory is linked into the DOS
device chain.
FREELOAD.SYS can be used to save 1-2k in a typical configuration. The
actual amount of memory saved depends upon on the number and type of
device drivers loaded high.
Support is provided for:
* fully automatic support of QEMM's LOADHI.SYS and 386MAX's 386LOAD.SYS
* specifying the name and path of the device loader
* both character and block devices
* character drivers which contain an unlimited number of devices
* DOS Versions 3.1 - 3.31, DOS 4.x, and DOS 5.x (or better?)
================================================================================
(Requirements)::
* Requires MS-DOS Version 3.10 or better
================================================================================
(Installation)::
(CONFIG.SYS)::
Installation of FREELOAD.SYS requires modifying the contents of
your CONFIG.SYS file.
(Generic Configuration)::
This configuration should work and be the most efficient in 95%
of all configurations. For a few real world examples see
EXAMPLES.DOC
DOS=HIGH[,UMB] (DOS 5.0 only)
REM DEVICE=STOPMAX.SYS [options] (Stops kernel from loading in HMA)
DEVICE=(xms/umb memory manager)
DEVICE=DOSMAX.EXE [options] (DOSMAX loads high automatically)
DEVICE=FREELOAD.SYS [-S][other options]
REM DEVICE=LOADHI.SYS DOSMAX.EXE (or DOSMAX loaded high with loader)
SHELL=SHELLMAX.COM COMMAND.COM /P
BUFFERS=20
FILES=40
LASTDRIVE=Z
Add a DEVICE= line for FREELOAD.SYS in your config.sys. FREELOAD
should be loaded immediately after the XMS and UMB memory manager
DEVICE=(Memory Manager)
DEVICE=FREELOAD.SYS [options]
The default loader pathname is "C:\QEMM\LOADHI.SYS". If FREELOAD
cannot open this pathname, a message will displayed alerting you
to "Use /Fpathname to override." An example which uses this switch
is shown below:
DEVICE=FREELOAD.SYS /F D:\QEMM\LOADHI.SYS
Version 1.8 adds full 386MAX support, so if 386MAX is detected, or
the /A2 switch is used, then the default loader pathname is changed
to "C:\386MAX\386LOAD.SYS."
(Tip)::
If you prefer that a particular device driver is not affected by
the operation of FREELOAD, place the DEVICE= for that device above
the DEVICE=FREELOAD.SYS entry. This may be necessary in the case
that a particular driver is not compatible with FREELOAD.
================================================================================
(Syntax)::
The only thing to remember about syntax for the command line is
that just about anything works. What this means is that you
should be able to type in the options on the command line the
way they make sense to you.
To illustrate this point, the following command line example
is mutated several different ways.
DEVICE=FREELOAD.SYS /R+ /P+ /FC:\QEMM\LOADHI.SYS
DEVICE=FREELOAD.SYS -R+ -P+ -F C:\QEMM\LOADHI.SYS
DEVICE=FREELOAD.SYS R+ P+ F C:\QEMM\LOADHI.SYS
DEVICE=FREELOAD.SYS R+P+FC:\QEMM\LOADHI.SYS
DEVICE=FREELOAD.SYS -R+P+FC:\QEMM\LOADHI.SYS
... and so on. There must be an EOL or space following the
filename paramter the /Fpathname switch
FREELOAD 1.9 and above adds optional full word syntax. The new
syntax looks like this:
DEVICE=FREELOAD.SYS /REPORT:- /PAUSE:- /LOADER=C:\QEMM\LOADHI.SYS
DEVICE=FREELOAD.SYS -REPORT:- -PAUSE:- -LOADER=C:\QEMM\LOADHI.SYS
DEVICE=FREELOAD.SYS REPORT:- PAUSE:- LOADER=C:\QEMM\LOADHI.SYS
DEVICE=FREELOAD.SYS REPORT-PAUSE-LOADER=C:\QEMM\LOADHI.SYS
DEVICE=FREELOAD.SYS -REPORT-PAUSE--LOADER=C:\QEMM\LOADHI.SYS
Obviously when using full words, it is easier to keep the words
separated so that is clear to read. An optional [:] or [=] may be
used for switches (i.e. REPORT:+ or LOADER=C:\LOADHI.SYS). These
optional delimiters are used interchangeably and can also be used
with the single letter switches. Remember to check your spelling
because the single letter interface is still intact.
(Switch Options)::
The following list of switch options is organized by:
- Control of FREELOAD Reports (/R:/P:/N:)
- Override the Default Name and Path of the Loader (/F=)
- Setting the Memory Strategy (/M=)
- Overriding Directory Structure Size (/D=)
- Control the Alternate Memory Manager Method (/A=)
- Controlling the Shrink Feature (/S:)
- Response file for FREELOAD (@)
(Control of FREELOAD Reports)::
(REPORT):: R[+ or -] (toggle: default +)
Use /R- or /REPORT:- to disable the report after you are
satisfied with the configuration of DOSMAX.EXE
(PAUSE):: P[+ or -] (toggle: default +)
Use /P- or /PAUSE:- to disable the pause after the report as
long as there are no errors or warnings.
(NOPAUSE):: N[+ or -] (toggle: default -)
Use /N+ or /NOPAUSE:+ to never pause after the report, even if
there are errors. This switch can be used if your configuration
generates a warning or error message which you choose to ignore.
(Override the Default Name and Path of the Loader)::
(LOADER):: F[pathname] (string= default=C:\QEMM\LOADHI.SYS)
Use /Fpathname or /LOADER=pathname to specify the filename and path
of the device loader provided with your upper memory manager. For
example, if this device driver is on drive D:
DEVICE=FREELOAD.SYS /FD:\QEMM\LOADHI.SYS
If FREELOAD cannot find this file, it will not load.
(Setting the Memory Strategy)::
(STRATEGY):: Mn (value: n = 0)
Use /Mn or /STRATEGY=n to control the memory allocation strategy
which FREELOAD uses to allocate its upper memory block. The default
strategy is is First Fit (/M0). This means that FREELOAD will use
the first upper memory block returned by the XMS manager. The other
options are Best Fit (/M1) and Last Fit (/M2). Best Fit uses the
block which most closely matches the size needed, and Last Fit uses
the highest block big enough to handle the request. Values other
than 0, 1, or 2 are ignored and the previous setting of this option
is used.
(Overriding Directory Structure Size)::
(CDSSIZE):: Dnn (value: nn = 88)
Use /Dnn or /CDSSIZE=nn to set the Drive Table Size. Values other
than the MS-DOS 4.0 - 6.0 Drive Table Size of 88 are only allowed if
the true MS-DOS version is greater than 5.0. The Drive Table Size
for DOS 3.x is 81. The /Dnn switch is only necessary if FREELOAD
can't determine the Drive Table Size automatically.
(Control the Alternate Memory Manager Method)::
(ALTMETHOD):: An (value: n = 0)
Use /An to select the method FREELOAD uses to detect and track
high device loaders. There are 3 possible values. (0), the
default, mean